﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000751 RID: 1873
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetMissionStatusCsReq : IMessage<GetMissionStatusCsReq>, IMessage, IEquatable<GetMissionStatusCsReq>, IDeepCloneable<GetMissionStatusCsReq>, IBufferMessage
	{
		// Token: 0x170017F1 RID: 6129
		// (get) Token: 0x06005432 RID: 21554 RVA: 0x000E3C47 File Offset: 0x000E1E47
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetMissionStatusCsReq> Parser
		{
			get
			{
				return GetMissionStatusCsReq._parser;
			}
		}

		// Token: 0x170017F2 RID: 6130
		// (get) Token: 0x06005433 RID: 21555 RVA: 0x000E3C4E File Offset: 0x000E1E4E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetMissionStatusCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170017F3 RID: 6131
		// (get) Token: 0x06005434 RID: 21556 RVA: 0x000E3C60 File Offset: 0x000E1E60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetMissionStatusCsReq.Descriptor;
			}
		}

		// Token: 0x06005435 RID: 21557 RVA: 0x000E3C67 File Offset: 0x000E1E67
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMissionStatusCsReq()
		{
		}

		// Token: 0x06005436 RID: 21558 RVA: 0x000E3C90 File Offset: 0x000E1E90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMissionStatusCsReq(GetMissionStatusCsReq other) : this()
		{
			this.missionEventIdList_ = other.missionEventIdList_.Clone();
			this.subMissionIdList_ = other.subMissionIdList_.Clone();
			this.mainMissionIdList_ = other.mainMissionIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005437 RID: 21559 RVA: 0x000E3CE7 File Offset: 0x000E1EE7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMissionStatusCsReq Clone()
		{
			return new GetMissionStatusCsReq(this);
		}

		// Token: 0x170017F4 RID: 6132
		// (get) Token: 0x06005438 RID: 21560 RVA: 0x000E3CEF File Offset: 0x000E1EEF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> MissionEventIdList
		{
			get
			{
				return this.missionEventIdList_;
			}
		}

		// Token: 0x170017F5 RID: 6133
		// (get) Token: 0x06005439 RID: 21561 RVA: 0x000E3CF7 File Offset: 0x000E1EF7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> SubMissionIdList
		{
			get
			{
				return this.subMissionIdList_;
			}
		}

		// Token: 0x170017F6 RID: 6134
		// (get) Token: 0x0600543A RID: 21562 RVA: 0x000E3CFF File Offset: 0x000E1EFF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> MainMissionIdList
		{
			get
			{
				return this.mainMissionIdList_;
			}
		}

		// Token: 0x0600543B RID: 21563 RVA: 0x000E3D07 File Offset: 0x000E1F07
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetMissionStatusCsReq);
		}

		// Token: 0x0600543C RID: 21564 RVA: 0x000E3D18 File Offset: 0x000E1F18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetMissionStatusCsReq other)
		{
			return other != null && (other == this || (this.missionEventIdList_.Equals(other.missionEventIdList_) && this.subMissionIdList_.Equals(other.subMissionIdList_) && this.mainMissionIdList_.Equals(other.mainMissionIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600543D RID: 21565 RVA: 0x000E3D80 File Offset: 0x000E1F80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.missionEventIdList_.GetHashCode();
			num ^= this.subMissionIdList_.GetHashCode();
			num ^= this.mainMissionIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600543E RID: 21566 RVA: 0x000E3DD0 File Offset: 0x000E1FD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600543F RID: 21567 RVA: 0x000E3DD8 File Offset: 0x000E1FD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005440 RID: 21568 RVA: 0x000E3DE4 File Offset: 0x000E1FE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.missionEventIdList_.WriteTo(ref output, GetMissionStatusCsReq._repeated_missionEventIdList_codec);
			this.mainMissionIdList_.WriteTo(ref output, GetMissionStatusCsReq._repeated_mainMissionIdList_codec);
			this.subMissionIdList_.WriteTo(ref output, GetMissionStatusCsReq._repeated_subMissionIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005441 RID: 21569 RVA: 0x000E3E38 File Offset: 0x000E2038
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.missionEventIdList_.CalculateSize(GetMissionStatusCsReq._repeated_missionEventIdList_codec);
			num += this.subMissionIdList_.CalculateSize(GetMissionStatusCsReq._repeated_subMissionIdList_codec);
			num += this.mainMissionIdList_.CalculateSize(GetMissionStatusCsReq._repeated_mainMissionIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005442 RID: 21570 RVA: 0x000E3E98 File Offset: 0x000E2098
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetMissionStatusCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.missionEventIdList_.Add(other.missionEventIdList_);
			this.subMissionIdList_.Add(other.subMissionIdList_);
			this.mainMissionIdList_.Add(other.mainMissionIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005443 RID: 21571 RVA: 0x000E3EF3 File Offset: 0x000E20F3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005444 RID: 21572 RVA: 0x000E3EFC File Offset: 0x000E20FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 96U)
				{
					if (num == 40U || num == 42U)
					{
						this.missionEventIdList_.AddEntriesFrom(ref input, GetMissionStatusCsReq._repeated_missionEventIdList_codec);
						continue;
					}
					if (num == 96U)
					{
						goto IL_4E;
					}
				}
				else
				{
					if (num == 98U)
					{
						goto IL_4E;
					}
					if (num == 120U || num == 122U)
					{
						this.subMissionIdList_.AddEntriesFrom(ref input, GetMissionStatusCsReq._repeated_subMissionIdList_codec);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				continue;
				IL_4E:
				this.mainMissionIdList_.AddEntriesFrom(ref input, GetMissionStatusCsReq._repeated_mainMissionIdList_codec);
			}
		}

		// Token: 0x040020EA RID: 8426
		private static readonly MessageParser<GetMissionStatusCsReq> _parser = new MessageParser<GetMissionStatusCsReq>(() => new GetMissionStatusCsReq());

		// Token: 0x040020EB RID: 8427
		private UnknownFieldSet _unknownFields;

		// Token: 0x040020EC RID: 8428
		public const int MissionEventIdListFieldNumber = 5;

		// Token: 0x040020ED RID: 8429
		private static readonly FieldCodec<uint> _repeated_missionEventIdList_codec = FieldCodec.ForUInt32(42U);

		// Token: 0x040020EE RID: 8430
		private readonly RepeatedField<uint> missionEventIdList_ = new RepeatedField<uint>();

		// Token: 0x040020EF RID: 8431
		public const int SubMissionIdListFieldNumber = 15;

		// Token: 0x040020F0 RID: 8432
		private static readonly FieldCodec<uint> _repeated_subMissionIdList_codec = FieldCodec.ForUInt32(122U);

		// Token: 0x040020F1 RID: 8433
		private readonly RepeatedField<uint> subMissionIdList_ = new RepeatedField<uint>();

		// Token: 0x040020F2 RID: 8434
		public const int MainMissionIdListFieldNumber = 12;

		// Token: 0x040020F3 RID: 8435
		private static readonly FieldCodec<uint> _repeated_mainMissionIdList_codec = FieldCodec.ForUInt32(98U);

		// Token: 0x040020F4 RID: 8436
		private readonly RepeatedField<uint> mainMissionIdList_ = new RepeatedField<uint>();
	}
}
